home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / YAS2000.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.9 KB  |  140 lines

  1. name Yasnac 2000G
  2.  
  3. % 00
  4. / 00
  5. O >4
  6. N >4
  7. G >2
  8. X ->3.>4
  9. Y ->3.>4
  10. Z ->3.>4
  11. A ->3.>4
  12. I ->3.>4
  13. J ->3.>4
  14. K ->3.>4
  15. Q ->3.>4
  16. R ->3.>4
  17. P >40
  18. F >3.1
  19. H >2
  20. D >2
  21. T >2
  22. M >2
  23. S >4
  24.  
  25. ModalLetters X Y Z F R                # List of letters that are modal    
  26.  
  27. ModalGs                               # List of g codes that are modal    
  28.  
  29. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  30. First#? N                             # Y or N  'Output 1st sequence no.  
  31. Last#? N                              # Y or N  'Output last sequence no. 
  32.  
  33. HCode X                               # X or X U  'Horizontal char.       
  34. VCode Y                               # Y or Y V  'Vertical char.         
  35. Dcode Z                               # Depth char.                       
  36. FeedCode F                            # Feed rate char.                   
  37.  
  38. Comment ( )                           # Begin End comment char.           
  39.  
  40. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  41. Coolant 8 9 7                         # On, Off & Mist m codes            
  42. DComp 41 42 40                        # Left, Right & Cancel m codes      
  43. LComp 43 49                           # On & Off codes                    
  44.  
  45. Feed G1                             # Linear move                       
  46. Rapid G0                            # Rapid positioning word            
  47. Cw G2                               # Circular move clockwise           
  48. Ccw G3                              # Circular move counter clockwise   
  49.  
  50. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  51.  
  52. CtrCode I J                           # I J or R or I J K L               
  53. Helical? Y
  54.  
  55. Spaces? Y                             # Y or N  'Spaces between words     
  56.  
  57. Incremental? N                        # Y or N  'Inc or abs output        
  58. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  59. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  60.  
  61. ZRestart? Y                           # Y or N  'New cycle if diff. depths
  62.  
  63. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  64.  
  65.  
  66. Drill                                 # Drilling canned/manual cycle      
  67. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  68. end cancel
  69.  
  70. Peck                                  # Pecking canned/manual cycle       
  71. G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  72. end cancel
  73.  
  74. Tap                                   # Tapping canned/manual cycle       
  75. G84 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
  76. end cancel
  77.  
  78. LTap                                  # Left handed tapping cycle         
  79. G74 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
  80. end cancel
  81.  
  82. Ream                                  # Reaming canned/manual cycle       
  83. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  84. end cancel
  85.  
  86. Bore                                  # Boring canned/manual cycle        
  87. G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  88. end cancel
  89.  
  90. Back                                  # Back boring canned/manual cycle   
  91. G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  92. end cancel
  93.  
  94. Cancel                                # Cancel a canned/manual cycle      
  95. G80
  96. end
  97.  
  98. StartCode                             # Start of the program              
  99. %0
  100. O[Program#]
  101. G90 G80 G40 G17
  102. End
  103.  
  104. 1stToolChange                         # First tool change                 
  105. T[Tool] M6
  106. M[Direct] S[Speed]
  107. G0 G[Work] X[H] Y[V]
  108. G43 Z[D] H[Lcomp]
  109. M[Cool]
  110. End
  111.  
  112. Infeed                                # Enable cutter comp                
  113. G[Side] X[H] Y[V] D[DComp] F[FRate]
  114. end
  115.  
  116. Outfeed                               # Disable cutter comp               
  117. G1 G40 X[H] Y[V]
  118. end
  119.  
  120. ToolChange                            # Secondary tool changes            
  121. M9
  122. G0 G49 Z0
  123. M1
  124. T[Tool] M6
  125. M[Direct] S[Speed]
  126. G0 G[Work] X[H] Y[V]
  127. G43 Z[D] H[Lcomp]
  128. M[Cool]
  129. End
  130.  
  131. EndCode                               # End of the program                
  132. M9
  133. G0 G49 Z0
  134. M6 T[Tool1]
  135. X0 Y0
  136. M02
  137. %0
  138. End
  139.  
  140.